import { get, post } from '../utils/request'
/**
 * 发布上传图片
 * @param {*} data
 * @returns
 */
export const notesImgPost = (formdata, data) =>
  post('/api/notes/upload/imgs', formdata, data)

/**
 * 发布笔记
 * @param {*} data
 * @returns
 */
export const notesPost = (data) => post('/api/notes/add', data)
